package by.grsu.hd.devices;


import by.grsu.hd.model.HomeDevice;
import by.grsu.hd.model.IDevice;
import by.grsu.hd.model.IUsbPort;
import by.grsu.hd.model.IUsbSupport;

public class UsbFlashDrive extends HomeDevice implements IDevice, IUsbSupport {
	
	private String id;
	
	protected UsbFlashDrive() {
	}
	
	public UsbFlashDrive(String id) {
		this.id = id;
	}

	@Override
	public IUsbPort getUsbPort() {
		return null;
	}

	@Override
	public String getDeviceId() {
		return this.id;
	}
	@Override
	protected void afterTurningOn() {
		System.out.println(getDeviceId() + " is preparing for Power");
		
	}
}
